package com.zhuiyun.project.api.article.mapper;

import com.zhuiyun.project.api.article.entity.Article;
import com.zhuiyun.project.api.friend.model.FriendModel;
import com.zhuiyun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface PublishArticleMapper extends BaseMapper<Article> {
    @Select("select id from app_physician WHERE del_flag=0 and user_id=#{id}")
    int selectDoctorId(Integer id);
}
